package com.audaque.springboot.foshanupload.web.openfeigndemo.service;

import com.audaque.springboot.foshanupload.web.openfeigndemo.model.dto.FeignDto;
import com.audaque.springboot.foshanupload.web.openfeigndemo.model.req.FeignReq;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;


public interface FeignRibbonService {



    @RequestMapping(value = "/feignRibbon/get1", method = RequestMethod.GET)
    public String get1();

    @RequestMapping(value = "/feignRibbon/get2/{param}", method = RequestMethod.GET)
    public String get2(@RequestParam("param") String param);

    @RequestMapping(value = "/feignRibbon/post1", method = RequestMethod.POST)
    public FeignDto post1(@RequestBody FeignReq req);

}